package Day08_2;

import java.text.DecimalFormat;
//数字格式化
public class Decimal_Format {
    public static void main(String[] args) {
        DecimalFormat df = new DecimalFormat("###,###.0000");
        String s = df.format(1234.45);
        System.out.println( s );
    }
}
